package com.peas.platform.module.icims.budget.ysy.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.ysy.adapter.repository.BudgetYsyConfigRepository;
import com.peas.platform.module.icims.budget.ysy.adapter.repository.po.BudgetYsyConfigPo;
import com.peas.platform.module.icims.budget.ysy.domain.BudgetYsyConfigDomain;
import com.peas.platform.module.icims.budget.ysy.dto.BudgetYsyConfigDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetYsyConfigDomainImpl extends BaseDomainImpl<BudgetYsyConfigDto, BudgetYsyConfigPo> implements BudgetYsyConfigDomain {

    @Resource
    private BudgetYsyConfigRepository budgetYsyConfigRepository;

    @Override
    public BaseRepository<BudgetYsyConfigPo> getMapper() {
        return budgetYsyConfigRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetYsyConfigPo>> getRepositoryClass() {
        return BudgetYsyConfigRepository.class;
    }

}
